package icu.sehnen.zuul.feign.fallback;

import icu.sehnen.common.result.CommonResult;
import icu.sehnen.zuul.feign.UserFeign;
import org.springframework.stereotype.Component;

@Component
public class UserFallBack implements UserFeign {
    @Override
    public CommonResult checkAccessToUri(String uri, String username) {
        return CommonResult.failed();
    }

    @Override
    public CommonResult getPermission() {
        return CommonResult.failed();
    }
}